package IC.AST;

import java.util.LinkedList;
import java.util.List;

public class ClassMembers {

	private List<Field> fields;
	private List<Method> methods;
	
	public ClassMembers() {
		fields = new LinkedList<Field>();
		methods = new LinkedList<Method>();
	}
	
	public void addFields(List<Field> f)
	{
		fields.addAll(f);
	}
	
	public void addMethod(Method method)
	{
		methods.add(method);
	}
	
	public List<Field> getFields()
	{
		return fields;
	}

	public List<Method> getMethods()
	{
		return methods;
	}
}
